﻿using HamcoWcs.Models.Common;
using HamcoWcs.Models.ForeEndModels.UITasks;
using System.Threading.Tasks;

namespace HamcoWcs.Contract.ContractForeEnd
{
    public interface IForeEndTaskService : IForeEndBaseService
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        ForeEndResult QueryMainTask(QueryMainTask query);
        ForeEndResult QuerySubTask(QuerySubTask querySubTask);
        ForeEndResult QueryHistoryMainTask(QueryMainTaskHistoryModel query);
        ForeEndResult QuerySubTaskById(BaseModel model);
    }
}
